Нужно написать функцию calculate, которая на вход принимает единственное действительное число A, а на выход возвращает такое число x, которое удовлетворяет выражению x²+√x = A. Ответ должен быть с относительной погрешностью 10^(-6).
Примеры
calculate(2.0) # 1.0 calculate(15.6) # 3.69823217
Свой вариант решения в комментарии 💭 Кодом делиться через pastebin.org или repl.it.
Нужно написать функцию calculate, которая на вход принимает единственное действительное число A, а на выход возвращает такое число x, которое удовлетворяет выражению x²+√x = A. Ответ должен быть с относительной погрешностью 10^(-6).
Примеры
calculate(2.0) # 1.0 calculate(15.6) # 3.69823217
Свой вариант решения в комментарии 💭 Кодом делиться через pastebin.org или repl.it.
#задачи
BY Python Turbo. Уютное сообщество Python разработчиков.
For some time, Mr. Durov and a few dozen staffers had no fixed headquarters, but rather traveled the world, setting up shop in one city after another, he told the Journal in 2016. The company now has its operational base in Dubai, though it says it doesn’t keep servers there.Mr. Durov maintains a yearslong friendship from his VK days with actor and tech investor Jared Leto, with whom he shares an ascetic lifestyle that eschews meat and alcohol.
A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.
Python Turbo Уютное сообщество Python разработчиков from br